﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;

namespace Quellenverwaltung.Data.SRU
{
    [XmlRoot(ElementName="SRU-Service")]
    public class SRUService
    {
        [XmlElement(ElementName="serverInfo", Namespace="http://explain.z3950.org/dtd/2.0/")]
        public ServerInfo ServerInfo { get; set; }
        [XmlElement(ElementName = "databaseInfo", Namespace = "http://explain.z3950.org/dtd/2.0/")]
        public DatabaseInfo DatabaseInfo { get; set; }

        [XmlArrayItem("index")]
        [XmlArray(ElementName = "indexInfo")]
        public List<Index> IndexInfo { get; set; }
    }
}
